using System.Collections.ObjectModel;
using System.Runtime.Serialization;

namespace Game.ExtensibleObjects
{
    [CollectionDataContract(Namespace = "game", ItemName = "Extension")]
    public class ReadOnlyExtensionCollection : Collection<string>
    {
        public ReadOnlyExtensionCollection(Collection<string> source)
            : base(source)
        {
        }

        public ReadOnlyExtensionCollection()
            : base(new Collection<string>())
        {
        }

        [OnDeserialized]
        public void OnDeserializedE(StreamingContext c)
        {
        }

    }
}